#**********************************************************
#  Microchip Enhanced PIC16F1xxx C Compiler (CC16E), v1.00
#  Sun Jul 21 17:30:31 2024
#**********************************************************
	.text
	.global _start
_start:
	 la  	sp, stack_end
call main
stack_start:
	.rept 1024
	.word 0
	.endr
stack_end:
add_int_int:
	addi	sp, sp, -48
	sw  	ra, 44(sp)
	sw  	s0, 40(sp)
	addi	s0, sp, 48
	sw  	a0, -36(s0)
	sw  	a1, -40(s0)
	lw  	a4, -36(s0)
	lw  	a5, -40(s0)
	add 	a5, a4, a5
	sw  	a5, -20(s0)
	li  	a5, 0
	lw  	a4, -20(s0)
	li  	a5, 1
	add 	a5, a4, a5
	sw  	a5, -24(s0)
	li  	a5, 0
	lw  	a4, -20(s0)
	li  	a5, 1
	bne 	a4, a5, _$L3
_$L3:
	lw  	a4, -36(s0)
	lw  	a5, -40(s0)
	lw  	ra, 44(sp)
	lw  	s0, 40(sp)
	addi	sp, sp, 48
	jr  	ra
main:
	addi	sp, sp, -32
	sw  	ra, 28(sp)
	sw  	s0, 24(sp)
	addi	s0, sp, 32
	lw  	a0, -20(s0)
	li  	a1, 1
	call	add_int_int
	lw  	ra, 28(sp)
	lw  	s0, 24(sp)
	addi	sp, sp, 32
	jr  	ra

	.end
